package JAVA_LianXi_50;

import java.util.Scanner;

public class FenJie {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int num=sc.nextInt();
		int i=2;
		while(num>i) {
			if(num%i==0) {
				System.out.print(i+"*");
				num=num/i;
			}else if(num%i!=0){
				i++;
			}
		}
		System.out.println(i);
	}
}
